package com.UnionPayCenter.vastchain;

import com.UnionPayCenter.vastchain.request.ParentMerchantRequest;
import com.UnionPayCenter.vastchain.request.PaymentRequest;
import com.UnionPayCenter.vastchain.request.SubMerchantRequest;
import com.UnionPayCenter.vastchain.response.params.ParentMerchantResponseParams;
import com.UnionPayCenter.vastchain.response.params.SubMerchantResponseParams;

/**
 * @author noah
 * @since 1.0.0, 2019/08/20
 */
public interface VastChainService {

    /**
     * 创建父商户
     * @param request
     * @return
     */
    ParentMerchantResponseParams creatParentMerchant(ParentMerchantRequest request);

    /**
     * 创建子商户
     * @param request
     * @return
     */
    SubMerchantResponseParams creatSubMerchant(SubMerchantRequest request);

    /**
     * 创建子商户
     * @param request
     * @return
     */
    boolean modifyPaymentParams(PaymentRequest request);
}
